package com.ply.entity.vo;

/**
 * @author XiaoPan
 * date: 2022/1/5 13:10
 * <p>
 * action:  消费时的用途信息
 */
public enum ConsumerMsg {
    BUY_VOTE(0,"购买投票次数"),

    BUY_VOTE_OUT_TIME(1,"购买投票过期时间");



    private final int id;
    private final String name;

    ConsumerMsg(int id, String name){
        this.id = id;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public static ConsumerMsg[] getAll(){
       return ConsumerMsg.values();
    }

}
